<template>
    <header>
        <span><</span>
        <div>
            <slot name="center" v-bind:nav="navList"></slot>
        </div>
        <span>
            <slot name="right"></slot>
        </span>
    </header>
</template>

<script>
export default {
    data(){
        return {
            navList:[
                '首页',
                '分类',
                '我的'
            ]
        }
    }
}
</script>

